package com.example.demo_page.service.impl;

import com.example.demo_page.mapper.UserDaoMapper;
import com.example.demo_page.pojo.User;
import com.example.demo_page.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author LQS
 * @date 2022/5/17.
 */
@Service

public class UserServiceImpl implements UserService {

    @Resource

    UserDaoMapper userDaoMapper;

    @Override

    public List<User> getAllUser() {

        return userDaoMapper.getAllUser();

    }

}
